<form method="post" name="new<<$groupname>>" action="index.php?mode=adminservice&service=addlinktogroup&page=static_content">
<table>
<tr><td><label>Link reference</label></td><Td><input type="text" name="href"></td></tr>
<tr><td><label>Link title</label></td><td><input type="text" name="title"></td></tr>
</table>
<input type="hidden" name="groupname" value="<<$groupname>>">
<button onclick="addNewLink(); return false;">Add new <<$grouptitle>></button>
</form>

<script>
function addNewLink() {
    submitForm("new<<$groupname>>");
    jQuery("#popup").dialog("close");
    refreshGrid("<<$gridname>>");
}

</script>
